<template >
    <div>
        <h3>{{title}}分类</h3>
        <!-- 
            <ul>
                <li v-for="(item,index) in listItem" :key="index">{{item}}</li>
            </ul>
        -->
        <slot name="center">默认显示内容11111</slot>
        <slot name="footer">默认显示内容22222</slot>
    </div>
</template>
<script>
export default {
    name:'Category',
    props:['title']
}
</script>
<style  scoped>
    div{
        width: 200px;
        background-color: aqua;
    }
    h3{
        background-color: coral;
    }
    
</style>